<?php echo $this->doctype(); ?>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<?php 
				echo $this->headTitle();
				echo $this->headLink();
				$this->jQuery()->enable();
				echo $this->jQuery();
				echo $this->headScript();
		?>
	</head>
	
	<body>
		<div id="global">
			<div id="header">
				
				<div id="menu">
					<ul>
						<li>
							<a href="<?php echo $this->url(array('module' => 'backend'), null, true); ?>">Accueil</a>
						</li>
						<?php if($this->is_logged) { ?>
							<li><a href="<?php echo $this->url(array('module' => 'backend', 'controller' => 'user', 'action' => 'signout'), null, true); ?>"><img src="<?php echo $this->baseUrl(); ?>/images/icons/signout.png" alt="Déconnexion" /></a></li>
						<?php } ?>
					</ul>
				</div>
				
			</div>
			
			<div id="content">
				<?php echo $this->layout()->content; ?>
			
				<div id="clear_both"></div>
			</div>
			
			<div id="footer">
				<div id="copyright">
					Copyright © 2011 Hybrid Legacy<br />
					Developed by <a href="http://micster.fr">Micster</a>
				</div>
			</div>
		</div>
	</body>
</html>
